﻿using System;

using ApplicationBoilerplate.DataProvider;
using MongoDB.Driver;
using MongoDB.Bson;

namespace MVCBootstrap.MongoDB {

	public interface IMongoCollection<TEntity> : IRepository<TEntity> where TEntity : class {
		MongoCollection<TEntity> GetCollection();
		TEntity Read(ObjectId id);
		void Delete(ObjectId id);
	}
}